<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>TOTAL IMAGE</title>
	<?=css_asset('ext-all.css');?>
    <?=css_asset('docs.css','main');?>
    <?=css_asset('forms.css');?>
    <?=css_asset('mmcal.css');?>
    <?=css_asset('toolbars.css');?>
   	<? //=css_asset('xtheme-slate.css');?>
	<?=css_asset('file-upload.css');?>
	<?=css_asset('MultiSelect.css');?>
	<?=css_asset('GroupSummary.css');?>
    <?=css_asset('ColumnNodeUI.css');?>
      
    <?=js_asset('ext-base.js');?>
    <?=js_asset('ext-all.js');?>
	<?//=js_asset('ext-all-debug.js');?>
    <?=js_asset('App.js');?>
	<?=js_asset('TabCloseMenu.js');?>
	<?=js_asset('FileUploadField.js');?>
	<?=js_asset('SearchField.js');?>
	<?=js_asset('RowExpander.js');?>
    <?=js_asset('RowEditor.js');?>
	<?=js_asset('CheckColumn.js');?>
    <?=js_asset('MultiSelect.js');?>
    <?=js_asset('ItemSelector.js');?>
    <?=js_asset('InputTextMask.js');?>
    <?=js_asset('GroupSummary.js');?>
    <?=js_asset('currency.js');?>
    <?=js_asset('MultiGrouping.js');?>
    <?//=js_asset('uxfusionpak-debug.js');?>
    <?//=js_asset('Portal.js');?>
    <?//=js_asset('PortalColumn.js');?>
    <?//=js_asset('Portlet.js');?>
    <?=js_asset('MonthPickerPlugin.js');?>
    
<script type="text/javascript">
	var s = document.createElement("script");
	s.type = 'text/javascript';
	s.src = '<?=base_url();?>assets/js/locale/ext-lang-id.js';
	s.charset = "ascii";
	document.getElementsByTagName("head")[0].appendChild(s);
</script>
    <?=js_asset('PagingMemoryProxy.js');?>
  	<link rel="shortcut icon" href="<?=base_url();?>favicon.ico" />

	<style type="text/css">
	html, body {
        font:normal 12px verdana;
        margin:0;
        padding:0;
        border:0 none;
        overflow:hidden;
        height:100%;
    }
	p {
	    margin:5px;
	}
    .style1 {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: 14px;
	}
    .style2 {
		font-size: large;
		font-family: "Courier New", Courier, monospace;
	}
	.style5 {
		font-family: Verdana, Arial, Helvetica, sans-serif;
		font-size: small;
		color: #AF4046;
	}
	.x-tab-bg{
		background-color: rgb(213,225,242);
	}
	<?php
	if(count($menus)){
		foreach($menus as $allmenu){
			$icon_file=file_exists(image_asset_url("shortcut/".$allmenu["menu_icon"])) ? image_asset_url("shortcut/".$allmenu["menu_icon"]):image_asset_url("shortcut/arrow.png");
	echo "\t .icon-".$allmenu["menu_id"]."{ background-image:url(".$icon_file.") !important; } \n";
		}
	}
	
	if(count($submenus)){
		foreach($submenus as $allmenu){
			//echo "test".image_asset_url("shortcut/").$allmenu["menu_icon"];
			$icon_file=($allmenu["menu_icon"]<>"" && NULL<>$allmenu["menu_icon"]) ? image_asset_url("shortcut/".$allmenu["menu_icon"]):image_asset_url("shortcut/arrow.png");
	echo "\t .icon-".$allmenu["menu_id"]."{ background-image:url(".$icon_file.") !important; } \n";
		}
	}
	
	?>
    </style>
   
	<?php $this->load->view('menus')?>
</head>
<body>
	<div id="loading-mask" style=""></div>
	<div id="loading">
		<div class="loading-indicator">
			<img src="<?=image_asset_url('extanim32.gif','main');?>" width="32" height="32" style="margin-right:8px;" align="absmiddle"/>
			Loading...
		</div>
	</div> 
  	<div id="header">
		<div style="float:right; margin-right:10px; color:#ffffff;">
		Selamat Datang, <b><?php echo $_SESSION[SESSION_USERID]?></b>&nbsp;[ <a href="index.php?c=c_login&m=logout" style="color:ffffff">logout</a> ]
		</div>
		<div class="api-title">
			<h1>TOTAL IMAGE - SISTEM INFORMATION</h1>
		</div>
	</div>
  	<div id="classes"></div>
    <div id="main"></div> 
</body>
</html>